import 'package:mybase/base/tool/empty/FFEmpty.dart';

extension FFDynamicExt on dynamic {
  // 当前对象是 有内容的字符串
  bool? fulString() {
    if (this == null) return false;
    return !FFEmpty.stringIsEmpty(this);
  }

}

void sss(){
  dynamic str;
  // var list = [];
  print("结果是 ${str?.fulString}");
  if (str?.fulString()) {
    print("结果是 ${str?.fulString}");
  } else {
    print("没有有效值");
  }

  print("结束了");
}